<?php
/* @var $this AdvController */
/* @var $model Ad */

$this->breadcrumbs=array(
	'Ads'=>array('index'),
	$model->title,
);

$this->menu=array(
	array('label'=>'List Ad', 'url'=>array('index')),
	array('label'=>'Create Ad', 'url'=>array('create')),
	array('label'=>'Update Ad', 'url'=>array('update', 'id'=>$model->ad_id)),
	array('label'=>'Delete Ad', 'url'=>'#', 'linkOptions'=>array('submit'=>array('delete','id'=>$model->ad_id),'confirm'=>'Are you sure you want to delete this item?')),
	array('label'=>'Manage Ad', 'url'=>array('admin')),
);
?>

<h1>View Ad #<?php echo $model->ad_id; ?></h1>

<?php $this->widget('zii.widgets.CDetailView', array(
	'data'=>$model,
	'attributes'=>array(
		'ad_id',
		'user_id',
		'title',
		'content',
		'main_category',
		'type',
		'image',
		'featured',
		'price',
		'contact_name',
		'contact_email',
		'contact_country',
		'contact_state',
		'contact_city',
		'contact_phone',
		'contact_cellphone',
		'website',
		'expire_time',
		'status',
		'created',
		'updated',
	),
)); ?>
